package com.zzxy.spring12.service.impl;

import com.zzxy.spring12.service.IStudentService;
import org.springframework.stereotype.Service;

import javax.xml.ws.ServiceMode;

@Service("stuService")
public class StudentServiceImpl implements IStudentService {


    @Override
    public void addStudent() {
        System.out.println("add Student success...");
    }

    @Override
    public void deleteStudent() {
        System.out.println("delete Student success...");
    }
    // *com.zzxy.spring1.service.impl.*.*(..)
    // *com.zzxy.spring1.service..*.*(..)

    //member.service
    //mall.service


    public  int test(){
       int i=1 / 0;
        return 1;
    }

}
